package src.service;

import src.entity.User;

public interface UserService {
    boolean register(String account, String password);
    boolean login(String account, String password);
    User getUser(String account);
    boolean updatePassword(String account, String oldPwd, String newPwd);
    boolean updateAvatar(String account, String avatarUrl);
}